GET
/
public
/
v1
/
segment-service
/
segments
{
  "segments": [
    {
      "config": {
        "definition": {
          "behaviors": [
            {
              "action_type": "impressions",
              "logic": "and",
              "parameters": [
                {
                  "entity_list": [
                    "<string>"
                  ],
                  "entity_type": "vendor"
                }
              ],
              "time_window": {
                "value": 45
              }
            }
          ]
        },
        "type": "dynamic"
      },
      "description": "<string>",
      "id": "<string>",
      "name": "<string>",
      "total": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Response

200
application/json

Successful Response

The response is of type object.